package com.example.springboot.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
  @ApiModel(value = "Note对象", description = "")
public class Note implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("对应用户")
      private Integer userId;

      @ApiModelProperty("笔记标题")
      private String name;

      @ApiModelProperty("对应专利")
      private String patentId;

      @ApiModelProperty("引导id")
      private Integer guideId;

      @ApiModelProperty("笔记内容")
      private String content;

      @ApiModelProperty("更新时间")
      private String updateTime;

      //专利名称
      @TableField(exist = false)
      private String patentName;

      //专利链接
      @TableField(exist = false)
      private String patentUrl;

      //引导名称
      @TableField(exist = false)
      private String guideName;


}
